wpr_write,
alan_exit,
wpr_args,
- CET_CHARSET_ASCII, 0 /* ascii is the expected character set */
- /* not fixed, can be changed through command
- line parameter */
+ CET_CHARSET_ASCII, 0, /* ascii is the expected character set */
+ /* not fixed, can be changed through command line parameter */
+ NULL_POS_OPS,
+ nullptr
};
ff_vecs_t alantrl_vecs = {
trl_write,
alan_exit,
trl_args,
- CET_CHARSET_ASCII, 0 /* ascii is the expected character set */
- /* not fixed, can be changed through command
- line parameter */
+ CET_CHARSET_ASCII, 0, /* ascii is the expected character set */
+ /* not fixed, can be changed through command line parameter */
+ NULL_POS_OPS,
+ nullptr
};
arglist_t an1_args[] = {
{
"type", &output_type, "Type of .an1 file",
- "", ARGTYPE_STRING, ARG_NOMINMAX
+ "", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"road", &road_changes, "Road type changes",
- "", ARGTYPE_STRING, ARG_NOMINMAX
+ "", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"nogc", &nogc, "Do not add geocache data to description",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"nourl", &nourl, "Do not add URLs to description",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"deficon", &opt_symbol, "Symbol to use for point data",
- "Red Flag", ARGTYPE_STRING, ARG_NOMINMAX
+ "Red Flag", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"color", &opt_color, "Color for lines or mapnotes",
- "red", ARGTYPE_STRING, ARG_NOMINMAX
+ "red", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"zoom", &opt_zoom, "Zoom level to reduce points",
- nullptr, ARGTYPE_INT, ARG_NOMINMAX
+ nullptr, ARGTYPE_INT, ARG_NOMINMAX, nullptr
},
{
"wpt_type", &opt_wpt_type,
"Waypoint type",
- "", ARGTYPE_STRING, ARG_NOMINMAX
+ "", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"radius", &opt_radius, "Radius for circles",
- nullptr, ARGTYPE_STRING, ARG_NOMINMAX
+ nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
bushnell_write,
nullptr,
bushnell_args,
- CET_CHARSET_MS_ANSI, 0 /* Not really sure... */
+ CET_CHARSET_MS_ANSI, 0, /* Not really sure... */
+ NULL_POS_OPS,
+ nullptr
};
bushnell_write,
nullptr,
bushnell_args,
- CET_CHARSET_MS_ANSI, 0 /* Not really sure... */
+ CET_CHARSET_MS_ANSI, 0, /* Not really sure... */
+ NULL_POS_OPS,
+ nullptr
};
arglist_t compegps_args[] = {
{
"deficon", &option_icon, "Default icon name",
- nullptr, ARGTYPE_STRING, ARG_NOMINMAX
+ nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"index", &option_index, "Index of route/track to write (if more than one in source)",
- nullptr, ARGTYPE_INT, "1", nullptr
+ nullptr, ARGTYPE_INT, "1", nullptr, nullptr
},
{
"radius", &option_radius, "Give points (waypoints/route points) a default radius (proximity)",
- nullptr, ARGTYPE_FLOAT, "0", nullptr
+ nullptr, ARGTYPE_FLOAT, "0", nullptr, nullptr
},
{
"snlen", &option_snlen, "Length of generated shortnames (default 16)",
- "16", ARGTYPE_INT, "1", nullptr
+ "16", ARGTYPE_INT, "1", nullptr, nullptr
},
ARG_TERMINATOR
};
arglist_t dmtlog_args[] = {
{
"index", &opt_index,
- "Index of track (if more than one in source)", "1", ARGTYPE_INT, "1", nullptr
+ "Index of track (if more than one in source)", "1", ARGTYPE_INT, "1", nullptr, nullptr
},
ARG_TERMINATOR
};
ff_cap_read, // tracks
ff_cap_none // routes
},
- rd_init, // rd_init
- nullptr, // wr_init
- rd_deinit, // rd_deinit
- nullptr, // wr_deinit
- data_read, // read
- nullptr, // write
- nullptr, // exit
- nullptr, //args
- CET_CHARSET_ASCII, 0 //encode,fixed_encode
- //NULL //name dynamic/internal?
+ rd_init, // rd_init
+ nullptr, // wr_init
+ rd_deinit, // rd_deinit
+ nullptr, // wr_deinit
+ data_read, // read
+ nullptr, // write
+ nullptr, // exit
+ nullptr, // args
+ CET_CHARSET_ASCII, 0, // encode, fixed_encode
+ NULL_POS_OPS,
+ nullptr
};
data_write,
nullptr,
nullptr,
- CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ CET_CHARSET_ASCII, 0, /* CET-REVIEW */
+ NULL_POS_OPS,
+ nullptr
};
exif_write,
nullptr,
exif_args,
- CET_CHARSET_UTF8, 0
+ CET_CHARSET_UTF8, 0,
+ NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
arglist_t garmin_txt_args[] = {
{"date", &opt_date_format, "Read/Write date format (i.e. yyyy/mm/dd)", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{"datum", &opt_datum, "GPS datum (def. WGS 84)", "WGS 84", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
- {"dist", &opt_dist, "Distance unit [m=metric, s=statute]", "m", ARGTYPE_STRING, ARG_NOMINMAX},
+ {"dist", &opt_dist, "Distance unit [m=metric, s=statute]", "m", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{"grid", &opt_grid, "Write position using this grid.", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{"prec", &opt_precision, "Precision of coordinates", "3", ARGTYPE_INT, ARG_NOMINMAX, nullptr},
{"temp", &opt_temp, "Temperature unit [c=Celsius, f=Fahrenheit]", "c", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{
GDB_OPT_CATEGORY, &gdb_opt_category,
"Default category on output (1..16)",
- nullptr, ARGTYPE_INT, "1", "16"
+ nullptr, ARGTYPE_INT, "1", "16", nullptr
},
{
GDB_OPT_BITCATEGORY, &gdb_opt_bitcategory, "Bitmap of categories",
- nullptr, ARGTYPE_INT, "1", "65535"
+ nullptr, ARGTYPE_INT, "1", "65535", nullptr
},
{
GDB_OPT_VER, &gdb_opt_ver,
"Version of gdb file to generate (1..3)",
- "2", ARGTYPE_INT, "1", "3"
+ "2", ARGTYPE_INT, "1", "3", nullptr
},
{
GDB_OPT_VIA, &gdb_opt_via,
"Drop route points that do not have an equivalent waypoint (hidden points)",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
GDB_OPT_ROADBOOK, &gdb_opt_roadbook,
"Include major turn points (with description) from calculated route",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
arglist_t gtc_args[] = {
{
"course", &opt_course, "Write course rather than history, default yes",
- "1", ARGTYPE_BOOL, ARG_NOMINMAX
+ "1", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"sport", &opt_sport, "Sport: Biking (deflt), Running, MultiSport, Other",
- "Biking", ARGTYPE_STRING, ARG_NOMINMAX
+ "Biking", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
nullptr,
kml_args,
CET_CHARSET_UTF8, 1, /* CET-REVIEW */
- { nullptr, nullptr, nullptr, kml_wr_position_init, kml_wr_position, kml_wr_position_deinit }
+ { nullptr, nullptr, nullptr, kml_wr_position_init, kml_wr_position, kml_wr_position_deinit },
+ nullptr
};
arglist_t ozi_args[] = {
{
"pack", &pack_opt, "Write all tracks into one file",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"snlen", &snlenopt, "Max synthesized shortname length",
- "32", ARGTYPE_INT, "1", nullptr
+ "32", ARGTYPE_INT, "1", nullptr, nullptr
},
{
"snwhite", &snwhiteopt, "Allow whitespace synth. shortnames",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"snupper", &snupperopt, "UPPERCASE synth. shortnames",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"snunique", &snuniqueopt, "Make synth. shortnames unique",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"wptfgcolor", &wptfgcolor, "Waypoint foreground color",
- "black", ARGTYPE_STRING, ARG_NOMINMAX
+ "black", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"wptbgcolor", &wptbgcolor, "Waypoint background color",
- "yellow", ARGTYPE_STRING, ARG_NOMINMAX
+ "yellow", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"proximity", &proximityarg, "Proximity distance",
- "0", ARGTYPE_STRING, ARG_NOMINMAX
+ "0", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"altunit", &altunit_opt, "Unit used in altitude values",
- "feet", ARGTYPE_STRING, ARG_NOMINMAX
+ "feet", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"proxunit", &proxunit_opt, "Unit used in proximity values",
- "miles", ARGTYPE_STRING, ARG_NOMINMAX
+ "miles", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
#define MYNAME "PCX"
static arglist_t pcx_args[] = {{"deficon", &deficon, "Default icon name",
- "Waypoint", ARGTYPE_STRING, ARG_NOMINMAX},
+ "Waypoint", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{"cartoexploreur", &cartoexploreur,
"Write tracks compatible with Carto Exploreur",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX},
+ nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr},
ARG_TERMINATOR};
static void rd_init(const QString& fname) {